package com.zhomboin.domain;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

@Data
@EqualsAndHashCode(callSuper = true)
public class GeneratorRequest extends DatabaseConfig {

    @NotEmpty(message = "至少需要选择一个数据表")
    private List<@NotBlank(message = "表名不能为空") String> tables;
}
